<?php
function getCatOptions() {
	$sonuc = "";
	$kmt = "SELECT catID,catName FROM link_cat ORDER BY catID;";
			$srg=mysql_query($kmt);
			while($snc=mysql_fetch_array($srg))
			{
				$sonuc .= "<option value='".$snc[0]."' style='text-align:center '>".$snc[1]."</option>";
			}
	return $sonuc;
}
?>